// pages/zaixianKaoshiLists/zaixianKaoshiLists.js
const app = getApp()
Page({
  data: {
    url: app.globalData.url,
    list: []
  },
  //事件处理函数
  onLoad: function () {
    var that = this;
    wx.request({
      url: app.globalData.url + '/partyBuilding/exam',
      responseType: 'text',
      success: function (res) {
        console.log(res);
        that.setData({
          list: res.data.result
        })
      }
    })
  }
})